.class public final Ldgb/q1;
.super Landroid/os/Handler;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Ldgb/q1$m;
    }
.end annotation


# static fields
.field private static h:Ldgb/q1;

.field private static final i:I

.field private static final j:I

.field private static k:Ljava/util/Comparator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Comparator<",
            "Ldgb/m1;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field private a:Z

.field private b:Z

.field private c:J

.field private d:Ldgb/q0$d;

.field private e:Ldgb/q0$d;

.field private f:Ldgb/q0$d;

.field private g:Ljava/lang/Runnable;


# direct methods
.method static constructor <clinit>()V
    .locals 4

    .line 1
    sget-boolean v0, Ldgb/o0;->b:Z

    const/16 v0, 0x3e8

    sput v0, Ldgb/q1;->i:I

    .line 2
    invoke-static {}, Ljava/lang/Math;->random()D

    move-result-wide v0

    const-wide v2, 0x404d800000000000L    # 59.0

    mul-double v0, v0, v2

    const-wide v2, 0x408f400000000000L    # 1000.0

    mul-double v0, v0, v2

    double-to-int v0, v0

    sput v0, Ldgb/q1;->j:I

    .line 3
    new-instance v0, Ldgb/q1$j;

    invoke-direct {v0}, Ldgb/q1$j;-><init>()V

    sput-object v0, Ldgb/q1;->k:Ljava/util/Comparator;

    return-void
.end method

.method private constructor <init>(Landroid/os/Looper;)V
    .locals 2

    .line 1
    invoke-direct {p0, p1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    const/4 p1, 0x0

    .line 2
    iput-boolean p1, p0, Ldgb/q1;->a:Z

    .line 3
    iput-boolean p1, p0, Ldgb/q1;->b:Z

    .line 4
    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Ldgb/q1;->c:J

    .line 5
    new-instance p1, Ldgb/q1$c;

    invoke-direct {p1, p0}, Ldgb/q1$c;-><init>(Ldgb/q1;)V

    iput-object p1, p0, Ldgb/q1;->d:Ldgb/q0$d;

    .line 6
    new-instance p1, Ldgb/q1$e;

    invoke-direct {p1, p0}, Ldgb/q1$e;-><init>(Ldgb/q1;)V

    iput-object p1, p0, Ldgb/q1;->e:Ldgb/q0$d;

    .line 7
    new-instance p1, Ldgb/q1$f;

    invoke-direct {p1, p0}, Ldgb/q1$f;-><init>(Ldgb/q1;)V

    iput-object p1, p0, Ldgb/q1;->f:Ldgb/q0$d;

    .line 8
    new-instance p1, Ldgb/q1$g;

    invoke-direct {p1, p0}, Ldgb/q1$g;-><init>(Ldgb/q1;)V

    iput-object p1, p0, Ldgb/q1;->g:Ljava/lang/Runnable;

    const/4 p1, 0x1

    const/4 v0, 0x0

    .line 9
    invoke-direct {p0, p1, v0}, Ldgb/q1;->b(ILjava/lang/Object;)V

    return-void
.end method

.method public static a(Ldgb/de$b;)Ldgb/m1;
    .locals 6

    .line 53
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v0

    invoke-virtual {v0}, Ldgb/m2;->c()Ljava/util/List;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 54
    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v2

    if-eqz v2, :cond_1

    .line 55
    :cond_0
    invoke-static {}, Ldgb/q1;->b()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_7

    .line 56
    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v2

    if-eqz v2, :cond_1

    goto :goto_1

    .line 57
    :cond_1
    sget-object v2, Ldgb/q1;->k:Ljava/util/Comparator;

    invoke-static {v0, v2}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    .line 58
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_2
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_6

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ldgb/m1;

    .line 59
    iget-object v3, v2, Ldgb/m1;->d:Ldgb/de;

    if-nez v3, :cond_3

    goto :goto_0

    .line 60
    :cond_3
    iget-object v4, v2, Ldgb/m1;->e:Ldgb/l1;

    invoke-virtual {v4}, Ldgb/l1;->a()Ljava/lang/String;

    move-result-object v4

    .line 61
    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-nez v5, :cond_4

    .line 62
    invoke-static {v4, v2}, Ldgb/q1;->a(Ljava/lang/String;Ldgb/m1;)Z

    move-result v4

    if-nez v4, :cond_4

    goto :goto_0

    .line 63
    :cond_4
    iget-object v4, v2, Ldgb/m1;->e:Ldgb/l1;

    invoke-virtual {v4}, Ldgb/l1;->d()Ljava/lang/String;

    move-result-object v4

    .line 64
    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-nez v5, :cond_5

    .line 65
    invoke-static {v4, v2}, Ldgb/q1;->a(Ljava/lang/String;Ldgb/m1;)Z

    move-result v4

    if-nez v4, :cond_5

    goto :goto_0

    .line 66
    :cond_5
    invoke-virtual {v3, p0}, Ldgb/de;->a(Ldgb/de$b;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 67
    iget-object v0, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-static {v0, p0}, Ldgb/l2;->b(Ljava/lang/String;Ldgb/de$b;)Z

    return-object v2

    :cond_6
    return-object v1

    .line 68
    :cond_7
    :goto_1
    sget-boolean p0, Ldgb/o0;->c:Z

    if-eqz p0, :cond_8

    const-string p0, "without usable splash"

    .line 69
    invoke-static {p0}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_8
    return-object v1
.end method

.method private static a(Ldgb/m1;Ljava/lang/String;Ljava/lang/String;)Ldgb/q1$m;
    .locals 2

    .line 124
    iget-object v0, p0, Ldgb/m1;->g:Ldgb/df;

    invoke-virtual {v0, p1}, Ldgb/df;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 125
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 p0, 0x0

    return-object p0

    .line 126
    :cond_0
    new-instance v1, Ldgb/q1$m;

    invoke-direct {v1}, Ldgb/q1$m;-><init>()V

    .line 127
    iget-object p0, p0, Ldgb/m1;->a:Ljava/lang/String;

    iput-object p0, v1, Ldgb/q1$m;->a:Ljava/lang/String;

    const-string p0, "download"

    .line 128
    iput-object p0, v1, Ldgb/q1$m;->b:Ljava/lang/String;

    .line 129
    iput-object p1, v1, Ldgb/q1$m;->d:Ljava/lang/String;

    .line 130
    iput-object v0, v1, Ldgb/q1$m;->c:Ljava/lang/String;

    .line 131
    iput-object p2, v1, Ldgb/q1$m;->e:Ljava/lang/String;

    return-object v1
.end method

.method public static declared-synchronized a()Ldgb/q1;
    .locals 3

    const-class v0, Ldgb/q1;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Ldgb/q1;->h:Ldgb/q1;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Ldgb/q1;

    invoke-static {}, Ldgb/u0;->b()Landroid/os/Looper;

    move-result-object v2

    invoke-direct {v1, v2}, Ldgb/q1;-><init>(Landroid/os/Looper;)V

    sput-object v1, Ldgb/q1;->h:Ldgb/q1;

    .line 5
    :cond_0
    sget-object v1, Ldgb/q1;->h:Ldgb/q1;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method private a(Landroid/os/Message;)V
    .locals 3

    .line 34
    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v0, p1, Ljava/lang/String;

    if-nez v0, :cond_0

    return-void

    .line 35
    :cond_0
    check-cast p1, Ljava/lang/String;

    .line 36
    invoke-static {}, Ldgb/c1;->a()Landroid/content/Context;

    move-result-object v0

    .line 37
    invoke-static {v0, p1}, Ldgb/u2;->b(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 38
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_1

    return-void

    .line 39
    :cond_1
    invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v2

    .line 40
    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_2

    return-void

    .line 41
    :cond_2
    invoke-static {v0, p1}, Ldgb/u2;->c(Landroid/content/Context;Ljava/lang/String;)I

    move-result v0

    if-gtz v0, :cond_3

    return-void

    .line 42
    :cond_3
    invoke-static {p1, v0}, Ldgb/r1;->a(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    .line 43
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_4

    return-void

    .line 44
    :cond_4
    invoke-static {p1, v0}, Ldgb/r1;->b(Ljava/lang/String;I)V

    .line 45
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v0

    invoke-virtual {v0, v1}, Ldgb/m2;->a(Ljava/lang/String;)Ldgb/m1;

    move-result-object v0

    if-nez v0, :cond_5

    return-void

    .line 46
    :cond_5
    invoke-static {v1, p1}, Ldgb/k2;->d(Ljava/lang/String;Ljava/lang/String;)Z

    const-string p1, "install"

    .line 47
    iget-object v1, v0, Ldgb/m1;->g:Ldgb/df;

    invoke-virtual {v1, p1}, Ldgb/df;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 48
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_6

    return-void

    .line 49
    :cond_6
    iget-object v2, v0, Ldgb/m1;->g:Ldgb/df;

    invoke-virtual {v2, v1}, Ldgb/df;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 50
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_7

    return-void

    .line 51
    :cond_7
    iget-object v1, v0, Ldgb/m1;->b:Ljava/lang/String;

    invoke-static {v1}, Ldgb/g1;->a(Ljava/lang/String;)Ldgb/c1$a;

    move-result-object v1

    if-nez v1, :cond_8

    return-void

    .line 52
    :cond_8
    iget-object v0, v0, Ldgb/m1;->a:Ljava/lang/String;

    invoke-interface {v1, v0, p1}, Ldgb/c1$a;->a(Ljava/lang/String;Ljava/lang/String;)Z

    return-void
.end method

.method static synthetic a(Ldgb/q1;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ldgb/q1;->c()V

    return-void
.end method

.method static synthetic a(Ldgb/q1;ILjava/lang/Object;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2}, Ldgb/q1;->b(ILjava/lang/Object;)V

    return-void
.end method

.method private a(Ljava/util/Set;)V
    .locals 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Set<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 78
    invoke-static {}, Ldgb/o2;->a()Ljava/util/Set;

    move-result-object v0

    .line 79
    new-instance v1, Ljava/util/LinkedList;

    invoke-direct {v1}, Ljava/util/LinkedList;-><init>()V

    .line 80
    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    const-string v3, ", category: "

    if-eqz v2, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 81
    invoke-static {v2}, Ldgb/o2;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 82
    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_0

    .line 83
    invoke-static {v2}, Ldgb/i2;->b(Ljava/lang/String;)Ldgb/m1;

    move-result-object v2

    if-eqz v2, :cond_0

    .line 84
    sget-boolean v4, Ldgb/o0;->c:Z

    if-eqz v4, :cond_1

    .line 85
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "notify id: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v5, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v3, v2, Ldgb/m1;->b:Ljava/lang/String;

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 86
    :cond_1
    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 87
    :cond_2
    invoke-static {}, Ldgb/o2;->b()Ljava/util/Set;

    move-result-object v0

    .line 88
    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_3
    :goto_1
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_5

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 89
    invoke-static {v2}, Ldgb/o2;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 90
    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_3

    .line 91
    invoke-static {v2}, Ldgb/i2;->b(Ljava/lang/String;)Ldgb/m1;

    move-result-object v2

    if-eqz v2, :cond_3

    .line 92
    sget-boolean v4, Ldgb/o0;->c:Z

    if-eqz v4, :cond_4

    .line 93
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "splash id: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v5, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v5, v2, Ldgb/m1;->b:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 94
    :cond_4
    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 95
    :cond_5
    invoke-static {}, Ldgb/o2;->c()Ljava/util/Set;

    move-result-object v0

    .line 96
    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_6
    :goto_2
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_8

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 97
    invoke-static {v2}, Ldgb/o2;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 98
    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_6

    .line 99
    invoke-static {v2}, Ldgb/i2;->b(Ljava/lang/String;)Ldgb/m1;

    move-result-object v2

    if-eqz v2, :cond_6

    .line 100
    sget-boolean v4, Ldgb/o0;->c:Z

    if-eqz v4, :cond_7

    .line 101
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "pandora id: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v5, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v5, v2, Ldgb/m1;->b:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 102
    :cond_7
    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_2

    .line 103
    :cond_8
    invoke-static {}, Ldgb/o2;->d()Ljava/util/Set;

    move-result-object v0

    .line 104
    new-instance v2, Ljava/util/LinkedList;

    invoke-direct {v2}, Ljava/util/LinkedList;-><init>()V

    .line 105
    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_9
    :goto_3
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_b

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    .line 106
    invoke-static {v4}, Ldgb/o2;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 107
    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-nez v5, :cond_9

    .line 108
    invoke-static {v4}, Ldgb/i2;->g(Ljava/lang/String;)Ldgb/j1;

    move-result-object v4

    if-eqz v4, :cond_9

    .line 109
    sget-boolean v5, Ldgb/o0;->c:Z

    if-eqz v5, :cond_a

    .line 110
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v6, "data pipe id: "

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v6, v4, Ldgb/j1;->b:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v6, v4, Ldgb/j1;->b:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 111
    :cond_a
    invoke-interface {v2, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_3

    .line 112
    :cond_b
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v0

    invoke-virtual {v0}, Ldgb/m2;->d()V

    .line 113
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_c
    :goto_4
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_d

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ldgb/m1;

    .line 114
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v3

    invoke-virtual {v3, v1}, Ldgb/m2;->a(Ldgb/m1;)Ldgb/m1;

    .line 115
    invoke-virtual {v1}, Ldgb/m1;->a()Z

    move-result v3

    if-eqz v3, :cond_c

    .line 116
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v3

    invoke-virtual {v3, v1}, Ldgb/m2;->b(Ldgb/m1;)Z

    goto :goto_4

    .line 117
    :cond_d
    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_5
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_e

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ldgb/j1;

    .line 118
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v2

    invoke-virtual {v2, v1}, Ldgb/m2;->a(Ldgb/j1;)Ldgb/j1;

    goto :goto_5

    .line 119
    :cond_e
    invoke-static {}, Ldgb/ed;->e()Ldgb/ed;

    move-result-object v0

    if-eqz v0, :cond_f

    .line 120
    invoke-static {v0}, Ldgb/ed;->a(Ldgb/ed;)V

    :cond_f
    if-eqz p1, :cond_10

    .line 121
    invoke-interface {p1}, Ljava/util/Set;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_10

    .line 122
    invoke-direct {p0, p1}, Ldgb/q1;->b(Ljava/util/Set;)V

    .line 123
    :cond_10
    invoke-direct {p0}, Ldgb/q1;->h()Z

    return-void
.end method

.method private static a(Ljava/lang/String;)Z
    .locals 2

    .line 74
    new-instance v0, Landroid/graphics/BitmapFactory$Options;

    invoke-direct {v0}, Landroid/graphics/BitmapFactory$Options;-><init>()V

    const/4 v1, 0x1

    .line 75
    iput-boolean v1, v0, Landroid/graphics/BitmapFactory$Options;->inJustDecodeBounds:Z

    .line 76
    invoke-static {p0, v0}, Landroid/graphics/BitmapFactory;->decodeFile(Ljava/lang/String;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;

    .line 77
    iget p0, v0, Landroid/graphics/BitmapFactory$Options;->outHeight:I

    if-lez p0, :cond_0

    iget p0, v0, Landroid/graphics/BitmapFactory$Options;->outWidth:I

    if-lez p0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :goto_0
    return v1
.end method

.method private static a(Ljava/lang/String;Ldgb/m1;)Z
    .locals 1

    .line 70
    new-instance v0, Ljava/io/File;

    iget-object p1, p1, Ldgb/m1;->a:Ljava/lang/String;

    invoke-static {p0, p1}, Ldgb/c1;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    invoke-direct {v0, p0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 71
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result p0

    if-eqz p0, :cond_0

    invoke-virtual {v0}, Ljava/io/File;->canRead()Z

    move-result p0

    if-eqz p0, :cond_0

    const/4 p0, 0x1

    goto :goto_0

    :cond_0
    const/4 p0, 0x0

    :goto_0
    return p0
.end method

.method private static a(Ljava/lang/String;Ljava/lang/String;)Z
    .locals 0

    .line 72
    invoke-static {p0}, Ldgb/t2;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_0

    .line 73
    invoke-virtual {p0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/4 p0, 0x1

    goto :goto_0

    :cond_0
    const/4 p0, 0x0

    :goto_0
    return p0
.end method

.method private static b()Ljava/util/List;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ldgb/m1;",
            ">;"
        }
    .end annotation

    .line 7
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    .line 8
    invoke-static {}, Ldgb/o2;->b()Ljava/util/Set;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 9
    invoke-interface {v1}, Ljava/util/Set;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_1

    .line 10
    invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 11
    invoke-static {v2}, Ldgb/o2;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 12
    invoke-static {v2}, Ldgb/i2;->b(Ljava/lang/String;)Ldgb/m1;

    move-result-object v2

    if-eqz v2, :cond_0

    .line 13
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_1
    return-object v0
.end method

.method private b(ILjava/lang/Object;)V
    .locals 2

    const-wide/16 v0, -0x1

    .line 2
    invoke-virtual {p0, p1, p2, v0, v1}, Ldgb/q1;->a(ILjava/lang/Object;J)V

    return-void
.end method

.method private b(Landroid/os/Message;)V
    .locals 2

    .line 3
    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast p1, [Ljava/lang/Object;

    const/4 v0, 0x0

    .line 4
    aget-object v0, p1, v0

    check-cast v0, Ldgb/de$b;

    const/4 v1, 0x1

    .line 5
    aget-object p1, p1, v1

    check-cast p1, Ldgb/c1$c;

    if-eqz p1, :cond_0

    .line 6
    invoke-static {v0}, Ldgb/q1;->a(Ldgb/de$b;)Ldgb/m1;

    move-result-object v0

    invoke-interface {p1, v0}, Ldgb/c1$c;->a(Ldgb/m1;)V

    :cond_0
    return-void
.end method

.method static synthetic b(Ldgb/q1;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ldgb/q1;->d()V

    return-void
.end method

.method private b(Ljava/util/Set;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Set<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    if-eqz p1, :cond_5

    .line 14
    invoke-interface {p1}, Ljava/util/Set;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_1

    .line 15
    :cond_0
    sget-boolean v0, Ldgb/o0;->c:Z

    if-eqz v0, :cond_1

    .line 16
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "new data pipe arrive: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {p1}, Ljava/util/Set;->size()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 17
    :cond_1
    invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 18
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    goto :goto_0

    .line 19
    :cond_2
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v1

    invoke-virtual {v1, v0}, Ldgb/m2;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 20
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_3

    goto :goto_0

    .line 21
    :cond_3
    invoke-static {v0}, Ldgb/h1;->a(Ljava/lang/String;)Ldgb/c1$b;

    move-result-object v2

    if-nez v2, :cond_4

    goto :goto_0

    .line 22
    :cond_4
    invoke-interface {v2, v0, v1}, Ldgb/c1$b;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_5
    :goto_1
    return-void
.end method

.method private c()V
    .locals 6

    .line 8
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v0

    invoke-virtual {v0}, Ldgb/m2;->b()Ljava/util/List;

    move-result-object v0

    .line 9
    sget-boolean v1, Ldgb/o0;->c:Z

    if-eqz v1, :cond_0

    .line 10
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "perform run pandora item size is "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_0
    if-eqz v0, :cond_b

    .line 11
    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_1

    goto/16 :goto_2

    .line 12
    :cond_1
    sget-object v1, Ldgb/q1;->k:Ljava/util/Comparator;

    invoke-static {v0, v1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    .line 13
    new-instance v1, Ljava/util/LinkedList;

    invoke-direct {v1}, Ljava/util/LinkedList;-><init>()V

    .line 14
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_2
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_7

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ldgb/m1;

    .line 15
    iget-object v3, v2, Ldgb/m1;->d:Ldgb/de;

    const-string v4, "notifyId: "

    if-nez v3, :cond_3

    .line 16
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_2

    .line 17
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " without show rule"

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto :goto_0

    .line 18
    :cond_3
    sget-object v5, Ldgb/de$b;->d:Ldgb/de$b;

    invoke-virtual {v3, v5}, Ldgb/de;->a(Ldgb/de$b;)Z

    move-result v3

    if-nez v3, :cond_4

    .line 19
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_2

    .line 20
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, "check failure"

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto :goto_0

    .line 21
    :cond_4
    iget-object v3, v2, Ldgb/m1;->e:Ldgb/l1;

    invoke-virtual {v3}, Ldgb/l1;->a()Ljava/lang/String;

    move-result-object v3

    .line 22
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    const-string v5, "notify id: "

    if-nez v4, :cond_5

    .line 23
    invoke-static {v3, v2}, Ldgb/q1;->a(Ljava/lang/String;Ldgb/m1;)Z

    move-result v3

    if-nez v3, :cond_5

    .line 24
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_2

    .line 25
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " bkg file not exist"

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 26
    :cond_5
    iget-object v3, v2, Ldgb/m1;->e:Ldgb/l1;

    invoke-virtual {v3}, Ldgb/l1;->c()Ljava/lang/String;

    move-result-object v3

    .line 27
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_6

    .line 28
    invoke-static {v3, v2}, Ldgb/q1;->a(Ljava/lang/String;Ldgb/m1;)Z

    move-result v3

    if-nez v3, :cond_6

    .line 29
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_2

    .line 30
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " essential file not exist"

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 31
    :cond_6
    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    .line 32
    :cond_7
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_8
    :goto_1
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_b

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ldgb/m1;

    .line 33
    iget-object v2, v1, Ldgb/m1;->b:Ljava/lang/String;

    invoke-static {v2}, Ldgb/g1;->a(Ljava/lang/String;)Ldgb/c1$a;

    move-result-object v2

    if-nez v2, :cond_9

    .line 34
    sget-boolean v2, Ldgb/o0;->c:Z

    if-eqz v2, :cond_8

    .line 35
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "display container is null, "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, v1, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "display failed,try to show next item if exist"

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto :goto_1

    .line 36
    :cond_9
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_a

    .line 37
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "begin to show the highest priority notify item,notifyId="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v4, v1, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 38
    :cond_a
    iget-object v3, v1, Ldgb/m1;->a:Ljava/lang/String;

    invoke-interface {v2, v3}, Ldgb/c1$a;->a(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_8

    .line 39
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    .line 40
    iget-object v4, v1, Ldgb/m1;->a:Ljava/lang/String;

    sget-object v5, Ldgb/de$b;->d:Ldgb/de$b;

    invoke-static {v4, v5}, Ldgb/l2;->b(Ljava/lang/String;Ldgb/de$b;)Z

    .line 41
    iget-object v1, v1, Ldgb/m1;->a:Ljava/lang/String;

    invoke-static {v1, v2, v3}, Ldgb/l2;->a(Ljava/lang/String;J)Z

    goto :goto_1

    :cond_b
    :goto_2
    return-void
.end method

.method private c(Landroid/os/Message;)V
    .locals 2

    .line 2
    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v0, p1, [Ljava/lang/Object;

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    check-cast p1, [Ljava/lang/Object;

    const/4 v0, 0x0

    .line 4
    aget-object v0, p1, v0

    check-cast v0, Ljava/lang/String;

    const/4 v1, 0x1

    .line 5
    aget-object p1, p1, v1

    check-cast p1, Ldgb/c1$b;

    .line 6
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v1

    invoke-virtual {v1, v0}, Ldgb/m2;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 7
    invoke-interface {p1, v0, v1}, Ldgb/c1$b;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic c(Ldgb/q1;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ldgb/q1;->f()V

    return-void
.end method

.method private d()V
    .locals 13

    .line 4
    invoke-static {}, Ldgb/c1;->a()Landroid/content/Context;

    move-result-object v0

    .line 5
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    .line 6
    invoke-static {}, Ldgb/q1;->e()Ldgb/ed;

    move-result-object v3

    invoke-virtual {v3}, Ldgb/ed;->c()J

    move-result-wide v3

    .line 7
    invoke-static {}, Ldgb/l2;->a()J

    move-result-wide v5

    const/4 v7, 0x0

    const/4 v8, 0x1

    cmp-long v9, v5, v1

    if-gtz v9, :cond_1

    add-long v9, v5, v3

    cmp-long v11, v9, v1

    if-gez v11, :cond_0

    goto :goto_0

    :cond_0
    const/4 v9, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 v9, 0x1

    .line 8
    :goto_1
    invoke-static {v0}, Ldgb/l2;->a(Landroid/content/Context;)J

    move-result-wide v10

    cmp-long v12, v10, v1

    if-gtz v12, :cond_2

    add-long/2addr v10, v3

    cmp-long v12, v10, v1

    if-gez v12, :cond_3

    :cond_2
    const/4 v7, 0x1

    .line 9
    :cond_3
    invoke-static {v0}, Ldgb/v2;->a(Landroid/content/Context;)Z

    move-result v0

    .line 10
    sget-boolean v1, Ldgb/o0;->c:Z

    if-eqz v1, :cond_4

    .line 11
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "lastShowTime is "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    new-instance v2, Ljava/util/Date;

    invoke-direct {v2, v5, v6}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v2}, Ljava/util/Date;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ",showGap from client is="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-wide/16 v5, 0x3e8

    div-long/2addr v3, v5

    const-wide/16 v5, 0x3c

    div-long/2addr v3, v5

    invoke-virtual {v1, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string v2, "min"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_4
    if-eqz v9, :cond_6

    if-eqz v7, :cond_6

    if-eqz v0, :cond_6

    .line 12
    sget-boolean v0, Ldgb/o0;->c:Z

    if-eqz v0, :cond_5

    const-string v0, "all conditions right! start this schedule..."

    .line 13
    invoke-static {v0}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 14
    :cond_5
    new-instance v0, Ldgb/q1$i;

    invoke-direct {v0, p0}, Ldgb/q1$i;-><init>(Ldgb/q1;)V

    invoke-static {v0}, Ldgb/u0;->c(Ljava/lang/Runnable;)V

    goto :goto_2

    .line 15
    :cond_6
    sget-boolean v1, Ldgb/o0;->c:Z

    if-eqz v1, :cond_7

    .line 16
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "handleOnPreloadComplete:dont\'t meet the showable conditions,stop this schedule. myselfShowable= "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v9}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    const-string v2, ",settingsShowable="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v7}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    const-string v2, ",isHomeFirst="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_7
    :goto_2
    return-void
.end method

.method private d(Landroid/os/Message;)V
    .locals 0

    .line 2
    new-instance p1, Ldgb/q1$d;

    invoke-direct {p1, p0}, Ldgb/q1$d;-><init>(Ldgb/q1;)V

    invoke-static {p1}, Ldgb/u0;->c(Ljava/lang/Runnable;)V

    .line 3
    new-instance p1, Ldgb/q1$h;

    invoke-direct {p1, p0}, Ldgb/q1$h;-><init>(Ldgb/q1;)V

    invoke-static {p1}, Ldgb/u0;->c(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic d(Ldgb/q1;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ldgb/q1;->k()V

    return-void
.end method

.method private static e()Ldgb/ed;
    .locals 1

    .line 2
    invoke-static {}, Ldgb/ed;->d()Ldgb/ed;

    move-result-object v0

    if-nez v0, :cond_0

    .line 3
    invoke-static {}, Ldgb/f2;->a()Ldgb/ed;

    move-result-object v0

    :cond_0
    return-object v0
.end method

.method private e(Landroid/os/Message;)V
    .locals 7

    .line 4
    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v0, p1, Ldgb/q1$m;

    if-nez v0, :cond_0

    return-void

    .line 5
    :cond_0
    check-cast p1, Ldgb/q1$m;

    .line 6
    sget-boolean v0, Ldgb/o0;->c:Z

    const-string v1, "notifyId: "

    if-eqz v0, :cond_1

    .line 7
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p1, Ldgb/q1$m;->a:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ", executor: "

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p1, Ldgb/q1$m;->b:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ", work"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p1, Ldgb/q1$m;->d:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 8
    :cond_1
    iget-object v0, p1, Ldgb/q1$m;->a:Ljava/lang/String;

    invoke-static {v0}, Ldgb/c1;->a(Ljava/lang/String;)Ldgb/m1;

    move-result-object v0

    if-nez v0, :cond_3

    .line 9
    sget-boolean v0, Ldgb/o0;->c:Z

    if-eqz v0, :cond_2

    .line 10
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "cannot find notify item "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p1, p1, Ldgb/q1$m;->a:Ljava/lang/String;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_2
    return-void

    .line 11
    :cond_3
    iget-object v2, p1, Ldgb/q1$m;->b:Ljava/lang/String;

    invoke-static {v2}, Ldgb/a2;->a(Ljava/lang/String;)Ldgb/x1;

    move-result-object v2

    if-nez v2, :cond_5

    .line 12
    sget-boolean v0, Ldgb/o0;->c:Z

    if-eqz v0, :cond_4

    .line 13
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "without executor for "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p1, p1, Ldgb/q1$m;->b:Ljava/lang/String;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_4
    return-void

    .line 14
    :cond_5
    iget-object v3, p1, Ldgb/q1$m;->c:Ljava/lang/String;

    const-string v4, "download"

    invoke-virtual {v4, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    const/4 v4, 0x1

    if-eqz v3, :cond_6

    iget-object v3, p1, Ldgb/q1$m;->f:Ldgb/c1$e;

    if-eqz v3, :cond_6

    const/4 v3, 0x1

    goto :goto_0

    :cond_6
    const/4 v3, 0x0

    :goto_0
    const/4 v5, 0x0

    if-eqz v3, :cond_8

    .line 15
    iget-object v0, v0, Ldgb/m1;->g:Ldgb/df;

    invoke-virtual {v0}, Ldgb/df;->a()Ljava/lang/String;

    move-result-object v5

    .line 16
    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_7

    return-void

    .line 17
    :cond_7
    invoke-static {}, Ldgb/s1;->a()Ldgb/s1;

    move-result-object v0

    iget-object v6, p1, Ldgb/q1$m;->f:Ldgb/c1$e;

    invoke-virtual {v0, v5, v6}, Ldgb/s1;->a(Ljava/lang/String;Ldgb/c1$e;)Z

    move-result v0

    if-nez v0, :cond_8

    return-void

    .line 18
    :cond_8
    invoke-interface {v2, p1}, Ldgb/x1;->a(Ldgb/q1$m;)I

    move-result v0

    .line 19
    sget-boolean v2, Ldgb/o0;->c:Z

    if-eqz v2, :cond_9

    .line 20
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p1, Ldgb/q1$m;->a:Ljava/lang/String;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ", work: "

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p1, Ldgb/q1$m;->c:Ljava/lang/String;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ", result is "

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_9
    if-ne v0, v4, :cond_a

    const/4 v0, 0x7

    .line 21
    invoke-direct {p0, v0, p1}, Ldgb/q1;->b(ILjava/lang/Object;)V

    goto :goto_1

    :cond_a
    if-nez v0, :cond_b

    if-eqz v3, :cond_b

    .line 22
    invoke-static {}, Ldgb/s1;->a()Ldgb/s1;

    move-result-object v0

    iget-object p1, p1, Ldgb/q1$m;->f:Ldgb/c1$e;

    invoke-virtual {v0, v5, p1}, Ldgb/s1;->b(Ljava/lang/String;Ldgb/c1$e;)Z

    goto :goto_1

    :cond_b
    if-nez v0, :cond_c

    .line 23
    iget-object p1, p1, Ldgb/q1$m;->c:Ljava/lang/String;

    const-string v0, "install"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_c

    .line 24
    new-instance p1, Ldgb/q1$k;

    invoke-direct {p1, p0}, Ldgb/q1$k;-><init>(Ldgb/q1;)V

    invoke-static {p1}, Ldgb/u0;->a(Ljava/lang/Runnable;)V

    :cond_c
    :goto_1
    return-void
.end method

.method static synthetic e(Ldgb/q1;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ldgb/q1;->j()V

    return-void
.end method

.method private f()V
    .locals 7

    .line 2
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v0

    invoke-virtual {v0}, Ldgb/m2;->a()Ljava/util/List;

    move-result-object v0

    .line 3
    sget-boolean v1, Ldgb/o0;->c:Z

    if-eqz v1, :cond_0

    .line 4
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "performRunNotifyItem:size "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_0
    if-eqz v0, :cond_f

    .line 5
    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_1

    goto/16 :goto_3

    .line 6
    :cond_1
    sget-object v1, Ldgb/q1;->k:Ljava/util/Comparator;

    invoke-static {v0, v1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    .line 7
    sget-boolean v1, Ldgb/o0;->c:Z

    if-eqz v1, :cond_2

    .line 8
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    const/4 v2, 0x0

    :goto_0
    if-ge v2, v1, :cond_2

    .line 9
    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ldgb/m1;

    .line 10
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "notifyid: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v5, v3, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v5, ", category: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v5, v3, Ldgb/m1;->b:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v5, ", priority: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v5, v3, Ldgb/m1;->c:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v5, ", showStartTime: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v5, v3, Ldgb/m1;->d:Ldgb/de;

    iget-object v5, v5, Ldgb/de;->c:Ljava/lang/Long;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v5, ", container: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v3, v3, Ldgb/m1;->f:Ldgb/k1;

    iget-object v3, v3, Ldgb/k1;->a:Ljava/lang/String;

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ldgb/s0;->b(Ljava/lang/String;)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 11
    :cond_2
    new-instance v1, Ljava/util/LinkedList;

    invoke-direct {v1}, Ljava/util/LinkedList;-><init>()V

    .line 12
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_3
    :goto_1
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_a

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ldgb/m1;

    .line 13
    iget-object v3, v2, Ldgb/m1;->d:Ldgb/de;

    const-string v4, "notifyId: "

    if-nez v3, :cond_4

    .line 14
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_3

    .line 15
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " without show rule"

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto :goto_1

    .line 16
    :cond_4
    sget-object v5, Ldgb/de$b;->d:Ldgb/de$b;

    invoke-virtual {v3, v5}, Ldgb/de;->a(Ldgb/de$b;)Z

    move-result v3

    if-nez v3, :cond_5

    .line 17
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_3

    .line 18
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, "check failure"

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto :goto_1

    .line 19
    :cond_5
    iget-object v3, v2, Ldgb/m1;->e:Ldgb/l1;

    invoke-virtual {v3}, Ldgb/l1;->a()Ljava/lang/String;

    move-result-object v3

    .line 20
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    const-string v5, "notify id: "

    if-nez v4, :cond_8

    .line 21
    invoke-static {v3, v2}, Ldgb/q1;->a(Ljava/lang/String;Ldgb/m1;)Z

    move-result v4

    if-nez v4, :cond_6

    .line 22
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_3

    .line 23
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " bkg file not exist"

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto/16 :goto_1

    .line 24
    :cond_6
    iget-object v4, v2, Ldgb/m1;->e:Ldgb/l1;

    invoke-virtual {v4}, Ldgb/l1;->b()Ljava/lang/String;

    move-result-object v4

    .line 25
    iget-object v6, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-static {v3, v6}, Ldgb/c1;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-static {v6, v4}, Ldgb/q1;->a(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_7

    .line 26
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_3

    .line 27
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " bkg file sum is error"

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto/16 :goto_1

    .line 28
    :cond_7
    iget-object v4, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-static {v3, v4}, Ldgb/c1;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ldgb/q1;->a(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_8

    .line 29
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_3

    .line 30
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " bkg file can not decode"

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto/16 :goto_1

    .line 31
    :cond_8
    iget-object v3, v2, Ldgb/m1;->e:Ldgb/l1;

    invoke-virtual {v3}, Ldgb/l1;->d()Ljava/lang/String;

    move-result-object v3

    .line 32
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_9

    .line 33
    invoke-static {v3, v2}, Ldgb/q1;->a(Ljava/lang/String;Ldgb/m1;)Z

    move-result v3

    if-nez v3, :cond_9

    .line 34
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_3

    .line 35
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v2, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " essential file not exist"

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto/16 :goto_1

    .line 36
    :cond_9
    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_1

    .line 37
    :cond_a
    sget-boolean v0, Ldgb/o0;->c:Z

    if-eqz v0, :cond_b

    .line 38
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "There are "

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, " items meet the display conditions"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 39
    :cond_b
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_c
    :goto_2
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_f

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ldgb/m1;

    .line 40
    iget-object v2, v1, Ldgb/m1;->b:Ljava/lang/String;

    invoke-static {v2}, Ldgb/g1;->a(Ljava/lang/String;)Ldgb/c1$a;

    move-result-object v2

    if-nez v2, :cond_d

    .line 41
    sget-boolean v2, Ldgb/o0;->c:Z

    if-eqz v2, :cond_c

    .line 42
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "display container is null, "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, v1, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "display failed,try to show next item if exist"

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto :goto_2

    .line 43
    :cond_d
    sget-boolean v3, Ldgb/o0;->c:Z

    if-eqz v3, :cond_e

    const-string v3, "begin to show the highest priority notify item"

    .line 44
    invoke-static {v3}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 45
    :cond_e
    iget-object v3, v1, Ldgb/m1;->a:Ljava/lang/String;

    invoke-interface {v2, v3}, Ldgb/c1$a;->a(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_c

    .line 46
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    .line 47
    invoke-static {}, Ldgb/c1;->a()Landroid/content/Context;

    move-result-object v0

    .line 48
    invoke-static {v0, v2, v3}, Ldgb/l2;->a(Landroid/content/Context;J)Z

    .line 49
    invoke-static {v2, v3}, Ldgb/l2;->a(J)Z

    .line 50
    iget-object v0, v1, Ldgb/m1;->a:Ljava/lang/String;

    sget-object v4, Ldgb/de$b;->d:Ldgb/de$b;

    invoke-static {v0, v4}, Ldgb/l2;->b(Ljava/lang/String;Ldgb/de$b;)Z

    .line 51
    iget-object v0, v1, Ldgb/m1;->a:Ljava/lang/String;

    invoke-static {v0, v2, v3}, Ldgb/l2;->a(Ljava/lang/String;J)Z

    :cond_f
    :goto_3
    return-void
.end method

.method private f(Landroid/os/Message;)V
    .locals 2

    .line 52
    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v0, p1, Ldgb/q1$m;

    if-nez v0, :cond_0

    return-void

    .line 53
    :cond_0
    check-cast p1, Ldgb/q1$m;

    .line 54
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v0

    iget-object v1, p1, Ldgb/q1$m;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ldgb/m2;->a(Ljava/lang/String;)Ldgb/m1;

    move-result-object v0

    if-nez v0, :cond_1

    return-void

    .line 55
    :cond_1
    iget-object v1, v0, Ldgb/m1;->b:Ljava/lang/String;

    invoke-static {v1}, Ldgb/g1;->a(Ljava/lang/String;)Ldgb/c1$a;

    move-result-object v1

    if-nez v1, :cond_2

    return-void

    .line 56
    :cond_2
    iget-object v0, v0, Ldgb/m1;->a:Ljava/lang/String;

    iget-object p1, p1, Ldgb/q1$m;->c:Ljava/lang/String;

    invoke-interface {v1, v0, p1}, Ldgb/c1$a;->a(Ljava/lang/String;Ljava/lang/String;)Z

    return-void
.end method

.method static synthetic f(Ldgb/q1;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Ldgb/q1;->b:Z

    return p0
.end method

.method private g()V
    .locals 3

    const/4 v0, 0x1

    .line 11
    iput-boolean v0, p0, Ldgb/q1;->b:Z

    const/4 v1, 0x0

    .line 12
    iput-boolean v1, p0, Ldgb/q1;->a:Z

    const/4 v2, 0x0

    .line 13
    invoke-direct {p0, v2}, Ldgb/q1;->a(Ljava/util/Set;)V

    .line 14
    iput-boolean v1, p0, Ldgb/q1;->b:Z

    .line 15
    iput-boolean v0, p0, Ldgb/q1;->a:Z

    return-void
.end method

.method private g(Landroid/os/Message;)V
    .locals 6

    .line 2
    invoke-static {}, Ldgb/t0;->b()Z

    move-result p1

    if-nez p1, :cond_0

    return-void

    .line 3
    :cond_0
    invoke-static {}, Ldgb/q1;->e()Ldgb/ed;

    move-result-object p1

    invoke-virtual {p1}, Ldgb/ed;->b()J

    move-result-wide v0

    .line 4
    invoke-static {}, Ldgb/l2;->d()J

    move-result-wide v2

    .line 5
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    add-long/2addr v0, v2

    cmp-long p1, v0, v4

    if-ltz p1, :cond_2

    cmp-long p1, v2, v4

    if-lez p1, :cond_1

    goto :goto_0

    .line 6
    :cond_1
    sget-boolean p1, Ldgb/o0;->c:Z

    if-eqz p1, :cond_3

    const-string p1, "The last scheduled time less than scheduleGap(half an hour),so break this schedule"

    .line 7
    invoke-static {p1}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto :goto_1

    :cond_2
    :goto_0
    const/4 p1, 0x2

    const/4 v0, 0x0

    .line 8
    sget v1, Ldgb/q1;->j:I

    int-to-long v1, v1

    invoke-virtual {p0, p1, v0, v1, v2}, Ldgb/q1;->a(ILjava/lang/Object;J)V

    .line 9
    sget-boolean p1, Ldgb/o0;->c:Z

    if-eqz p1, :cond_3

    .line 10
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v0, "pull network data after "

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    sget v0, Ldgb/q1;->j:I

    div-int/lit16 v0, v0, 0x3e8

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v0, " seconds"

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_3
    :goto_1
    return-void
.end method

.method static synthetic g(Ldgb/q1;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Ldgb/q1;->a:Z

    return p0
.end method

.method private h(Landroid/os/Message;)V
    .locals 4

    .line 2
    invoke-static {}, Ldgb/t0;->b()Z

    move-result p1

    if-nez p1, :cond_0

    return-void

    .line 3
    :cond_0
    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Ldgb/q1;->c:J

    sub-long/2addr v0, v2

    sget p1, Ldgb/q1;->i:I

    int-to-long v2, p1

    cmp-long p1, v0, v2

    if-gez p1, :cond_1

    return-void

    .line 4
    :cond_1
    invoke-direct {p0}, Ldgb/q1;->i()Z

    move-result p1

    if-eqz p1, :cond_2

    return-void

    .line 5
    :cond_2
    iget-boolean p1, p0, Ldgb/q1;->b:Z

    if-nez p1, :cond_3

    iget-boolean p1, p0, Ldgb/q1;->a:Z

    if-eqz p1, :cond_3

    .line 6
    invoke-direct {p0}, Ldgb/q1;->h()Z

    goto :goto_0

    .line 7
    :cond_3
    iget-boolean p1, p0, Ldgb/q1;->b:Z

    if-nez p1, :cond_4

    iget-boolean p1, p0, Ldgb/q1;->a:Z

    if-nez p1, :cond_4

    .line 8
    invoke-direct {p0}, Ldgb/q1;->g()V

    :cond_4
    :goto_0
    return-void
.end method

.method private h()Z
    .locals 7

    .line 9
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    .line 10
    invoke-static {}, Ldgb/q1;->e()Ldgb/ed;

    move-result-object v2

    invoke-virtual {v2}, Ldgb/ed;->b()J

    move-result-wide v2

    .line 11
    invoke-static {}, Ldgb/l2;->d()J

    move-result-wide v4

    add-long/2addr v2, v4

    cmp-long v6, v2, v0

    if-ltz v6, :cond_1

    cmp-long v2, v4, v0

    if-lez v2, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 v0, 0x1

    .line 12
    :goto_1
    sget-boolean v1, Ldgb/o0;->c:Z

    if-eqz v1, :cond_2

    .line 13
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "doSchedulePreload:scheduleable "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_2
    if-eqz v0, :cond_3

    .line 14
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-static {v1, v2}, Ldgb/l2;->d(J)Z

    .line 15
    new-instance v1, Ldgb/q1$l;

    invoke-direct {v1, p0}, Ldgb/q1$l;-><init>(Ldgb/q1;)V

    invoke-static {v1}, Ldgb/u0;->c(Ljava/lang/Runnable;)V

    :cond_3
    return v0
.end method

.method static synthetic h(Ldgb/q1;)Z
    .locals 0

    .line 1
    invoke-direct {p0}, Ldgb/q1;->h()Z

    move-result p0

    return p0
.end method

.method private i(Landroid/os/Message;)V
    .locals 0

    return-void
.end method

.method static synthetic i(Ldgb/q1;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ldgb/q1;->g()V

    return-void
.end method

.method private i()Z
    .locals 7

    .line 2
    invoke-static {}, Ldgb/q1;->e()Ldgb/ed;

    move-result-object v0

    invoke-virtual {v0}, Ldgb/ed;->a()J

    move-result-wide v0

    .line 3
    invoke-static {}, Ldgb/l2;->b()J

    move-result-wide v2

    .line 4
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    cmp-long v6, v2, v4

    if-gtz v6, :cond_1

    add-long/2addr v2, v0

    cmp-long v0, v2, v4

    if-gez v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 v0, 0x1

    :goto_1
    if-eqz v0, :cond_2

    .line 5
    new-instance v1, Ldgb/q1$a;

    invoke-direct {v1, p0}, Ldgb/q1$a;-><init>(Ldgb/q1;)V

    invoke-static {v1}, Ldgb/u0;->c(Ljava/lang/Runnable;)V

    :cond_2
    return v0
.end method

.method static synthetic j(Ldgb/q1;)Ljava/lang/Runnable;
    .locals 0

    .line 1
    iget-object p0, p0, Ldgb/q1;->g:Ljava/lang/Runnable;

    return-object p0
.end method

.method private j()V
    .locals 1

    .line 2
    invoke-static {}, Ldgb/t0;->b()Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "network unavailable"

    .line 3
    invoke-static {v0}, Ldgb/s0;->b(Ljava/lang/String;)V

    return-void

    .line 4
    :cond_0
    sget-boolean v0, Ldgb/o0;->c:Z

    if-eqz v0, :cond_1

    const-string v0, "performDataFetch"

    .line 5
    invoke-static {v0}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 6
    :cond_1
    new-instance v0, Ldgb/q1$b;

    invoke-direct {v0, p0}, Ldgb/q1$b;-><init>(Ldgb/q1;)V

    invoke-static {v0}, Ldgb/c2;->a(Ldgb/c2$b;)V

    return-void
.end method

.method private j(Landroid/os/Message;)V
    .locals 3

    .line 7
    sget-boolean v0, Ldgb/o0;->c:Z

    if-eqz v0, :cond_0

    const-string v0, "handleOnNotifyArrive"

    .line 8
    invoke-static {v0}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 9
    :cond_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v1, v0, [B

    if-nez v1, :cond_1

    return-void

    .line 10
    :cond_1
    check-cast v0, [B

    invoke-static {v0}, Ldgb/h2;->a([B)Ljava/lang/String;

    move-result-object v0

    .line 11
    sget-boolean v1, Ldgb/o0;->c:Z

    if-eqz v1, :cond_2

    .line 12
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "the result is "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ", data length is "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast p1, [B

    array-length p1, p1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 13
    :cond_2
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_3

    .line 14
    invoke-static {v0}, Ldgb/g2;->a(Ljava/lang/String;)Ldgb/g2;

    move-result-object p1

    .line 15
    invoke-static {p1}, Ldgb/k2;->a(Ldgb/g2;)Z

    if-eqz p1, :cond_3

    .line 16
    iget-object v0, p1, Ldgb/g2;->a:Ljava/util/Map;

    invoke-static {v0}, Ldgb/n2;->a(Ljava/util/Map;)V

    .line 17
    invoke-virtual {p1}, Ldgb/g2;->a()Z

    move-result v0

    if-nez v0, :cond_3

    .line 18
    iget-object v0, p1, Ldgb/g2;->b:Ljava/util/Map;

    iget-object v1, p1, Ldgb/g2;->f:Ljava/util/Set;

    invoke-static {v0, v1}, Ldgb/n2;->a(Ljava/util/Map;Ljava/util/Set;)V

    .line 19
    iget-object v0, p1, Ldgb/g2;->c:Ljava/util/Map;

    iget-object v1, p1, Ldgb/g2;->g:Ljava/util/Set;

    invoke-static {v0, v1}, Ldgb/n2;->b(Ljava/util/Map;Ljava/util/Set;)V

    .line 20
    iget-object v0, p1, Ldgb/g2;->e:Ljava/util/Map;

    iget-object v1, p1, Ldgb/g2;->i:Ljava/util/Set;

    invoke-static {v0, v1}, Ldgb/n2;->c(Ljava/util/Map;Ljava/util/Set;)V

    .line 21
    new-instance v0, Ljava/util/LinkedHashSet;

    iget-object p1, p1, Ldgb/g2;->e:Ljava/util/Map;

    invoke-interface {p1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object p1

    invoke-direct {v0, p1}, Ljava/util/LinkedHashSet;-><init>(Ljava/util/Collection;)V

    const/16 p1, 0xb

    .line 22
    invoke-virtual {p0, p1, v0}, Ldgb/q1;->a(ILjava/lang/Object;)V

    return-void

    .line 23
    :cond_3
    iget-boolean p1, p0, Ldgb/q1;->b:Z

    if-nez p1, :cond_4

    iget-boolean p1, p0, Ldgb/q1;->a:Z

    if-eqz p1, :cond_4

    .line 24
    invoke-direct {p0}, Ldgb/q1;->h()Z

    goto :goto_0

    .line 25
    :cond_4
    iget-boolean p1, p0, Ldgb/q1;->b:Z

    if-nez p1, :cond_5

    iget-boolean p1, p0, Ldgb/q1;->a:Z

    if-nez p1, :cond_5

    .line 26
    invoke-direct {p0}, Ldgb/q1;->g()V

    :cond_5
    :goto_0
    return-void
.end method

.method private k()V
    .locals 14

    const-string v0, "download"

    .line 1
    invoke-static {v0}, Ldgb/a2;->a(Ljava/lang/String;)Ldgb/x1;

    move-result-object v0

    if-nez v0, :cond_1

    .line 2
    sget-boolean v0, Ldgb/o0;->c:Z

    if-eqz v0, :cond_0

    const-string v0, "We cannot find DownloadExecutor"

    .line 3
    invoke-static {v0}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_0
    return-void

    .line 4
    :cond_1
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v1

    invoke-virtual {v1}, Ldgb/m2;->a()Ljava/util/List;

    move-result-object v1

    .line 5
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v2

    invoke-virtual {v2}, Ldgb/m2;->b()Ljava/util/List;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 6
    invoke-static {}, Ldgb/m2;->e()Ldgb/m2;

    move-result-object v2

    invoke-virtual {v2}, Ldgb/m2;->c()Ljava/util/List;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    if-eqz v1, :cond_1b

    .line 7
    invoke-interface {v1}, Ljava/util/List;->isEmpty()Z

    move-result v2

    if-eqz v2, :cond_2

    goto/16 :goto_7

    .line 8
    :cond_2
    sget-boolean v2, Ldgb/o0;->c:Z

    if-eqz v2, :cond_3

    .line 9
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "We have "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v3, " items to preload essential material"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 10
    :cond_3
    sget-object v2, Ldgb/q1;->k:Ljava/util/Comparator;

    invoke-static {v1, v2}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    .line 11
    new-instance v2, Ljava/util/LinkedList;

    invoke-direct {v2}, Ljava/util/LinkedList;-><init>()V

    .line 12
    new-instance v3, Ljava/util/LinkedList;

    invoke-direct {v3}, Ljava/util/LinkedList;-><init>()V

    .line 13
    new-instance v4, Ljava/util/LinkedList;

    invoke-direct {v4}, Ljava/util/LinkedList;-><init>()V

    .line 14
    new-instance v5, Ljava/util/LinkedHashSet;

    invoke-direct {v5}, Ljava/util/LinkedHashSet;-><init>()V

    .line 15
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v6

    const/4 v7, 0x1

    sub-int/2addr v6, v7

    :goto_0
    const-string v8, "notifyId: "

    if-ltz v6, :cond_14

    .line 16
    invoke-interface {v1, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Ldgb/m1;

    .line 17
    iget-object v10, v9, Ldgb/m1;->e:Ldgb/l1;

    const/4 v11, 0x0

    if-eqz v10, :cond_4

    const/4 v10, 0x1

    goto :goto_1

    :cond_4
    const/4 v10, 0x0

    :goto_1
    if-eqz v10, :cond_5

    .line 18
    iget-object v12, v9, Ldgb/m1;->e:Ldgb/l1;

    iget-object v12, v12, Ldgb/l1;->b:Ljava/util/Map;

    if-eqz v12, :cond_5

    const/4 v12, 0x1

    goto :goto_2

    :cond_5
    const/4 v12, 0x0

    :goto_2
    if-eqz v12, :cond_6

    .line 19
    iget-object v12, v9, Ldgb/m1;->e:Ldgb/l1;

    iget-object v12, v12, Ldgb/l1;->b:Ljava/util/Map;

    invoke-interface {v12}, Ljava/util/Map;->isEmpty()Z

    move-result v12

    if-nez v12, :cond_6

    const/4 v12, 0x1

    goto :goto_3

    :cond_6
    const/4 v12, 0x0

    :goto_3
    if-eqz v10, :cond_7

    .line 20
    iget-object v10, v9, Ldgb/m1;->e:Ldgb/l1;

    iget-object v10, v10, Ldgb/l1;->c:Ljava/util/Map;

    if-eqz v10, :cond_7

    const/4 v10, 0x1

    goto :goto_4

    :cond_7
    const/4 v10, 0x0

    :goto_4
    if-eqz v10, :cond_8

    .line 21
    iget-object v10, v9, Ldgb/m1;->e:Ldgb/l1;

    iget-object v10, v10, Ldgb/l1;->c:Ljava/util/Map;

    invoke-interface {v10}, Ljava/util/Map;->isEmpty()Z

    move-result v10

    if-nez v10, :cond_8

    const/4 v11, 0x1

    :cond_8
    if-nez v12, :cond_9

    if-nez v11, :cond_9

    goto/16 :goto_5

    .line 22
    :cond_9
    iget-object v10, v9, Ldgb/m1;->d:Ldgb/de;

    if-nez v10, :cond_a

    goto/16 :goto_5

    .line 23
    :cond_a
    invoke-virtual {v10}, Ldgb/de;->a()Z

    move-result v13

    if-eqz v13, :cond_c

    .line 24
    sget-boolean v10, Ldgb/o0;->c:Z

    if-eqz v10, :cond_b

    .line 25
    new-instance v10, Ljava/lang/StringBuilder;

    invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v8, v9, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v8, " expired"

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-static {v8}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 26
    :cond_b
    iget-object v8, v9, Ldgb/m1;->a:Ljava/lang/String;

    invoke-interface {v5, v8}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    goto/16 :goto_5

    .line 27
    :cond_c
    invoke-virtual {v10}, Ldgb/de;->c()Z

    move-result v10

    if-eqz v10, :cond_e

    .line 28
    sget-boolean v10, Ldgb/o0;->c:Z

    if-eqz v10, :cond_d

    .line 29
    new-instance v10, Ljava/lang/StringBuilder;

    invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v8, v9, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v8, " show too many times"

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-static {v8}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 30
    :cond_d
    iget-object v8, v9, Ldgb/m1;->a:Ljava/lang/String;

    invoke-interface {v5, v8}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    goto :goto_5

    .line 31
    :cond_e
    iget-object v10, v9, Ldgb/m1;->d:Ldgb/de;

    invoke-virtual {v10}, Ldgb/de;->b()Z

    move-result v10

    if-nez v10, :cond_f

    .line 32
    sget-boolean v10, Ldgb/o0;->c:Z

    if-eqz v10, :cond_13

    .line 33
    new-instance v10, Ljava/lang/StringBuilder;

    invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v8, v9, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v8, " check failure"

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-static {v8}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto :goto_5

    .line 34
    :cond_f
    invoke-interface {v2, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    if-eqz v12, :cond_11

    .line 35
    sget-boolean v10, Ldgb/o0;->c:Z

    if-eqz v10, :cond_10

    .line 36
    new-instance v10, Ljava/lang/StringBuilder;

    invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v12, v9, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v10, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v12, " has essentials"

    invoke-virtual {v10, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 37
    :cond_10
    iget-object v10, v9, Ldgb/m1;->a:Ljava/lang/String;

    invoke-interface {v3, v10}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_11
    if-eqz v11, :cond_13

    .line 38
    sget-boolean v10, Ldgb/o0;->c:Z

    if-eqz v10, :cond_12

    .line 39
    new-instance v10, Ljava/lang/StringBuilder;

    invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v8, v9, Ldgb/m1;->a:Ljava/lang/String;

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v8, " has optianls"

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-static {v8}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 40
    :cond_12
    iget-object v8, v9, Ldgb/m1;->a:Ljava/lang/String;

    invoke-interface {v4, v8}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_13
    :goto_5
    add-int/lit8 v6, v6, -0x1

    goto/16 :goto_0

    .line 41
    :cond_14
    invoke-interface {v5}, Ljava/util/Set;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_15

    .line 42
    invoke-static {v5}, Ldgb/n2;->b(Ljava/util/Set;)V

    .line 43
    invoke-static {v5}, Ldgb/n2;->a(Ljava/util/Set;)V

    .line 44
    :cond_15
    sget-boolean v1, Ldgb/o0;->c:Z

    if-eqz v1, :cond_16

    .line 45
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "essential list: "

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {v3}, Ldgb/q2;->a(Ljava/util/Collection;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 46
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "optional list: "

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {v4}, Ldgb/q2;->a(Ljava/util/Collection;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 47
    :cond_16
    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_17
    :goto_6
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1a

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ldgb/m1;

    .line 48
    iget-object v5, v2, Ldgb/m1;->a:Ljava/lang/String;

    .line 49
    invoke-interface {v3, v5}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v6

    const-string v7, " result: "

    const-string v9, "preload_file"

    const-string v10, "file"

    const-string v11, " do work: "

    if-eqz v6, :cond_19

    .line 50
    iget-object v6, v2, Ldgb/m1;->e:Ldgb/l1;

    iget-object v6, v6, Ldgb/l1;->b:Ljava/util/Map;

    const-string v12, "bkg"

    invoke-interface {v6, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/String;

    .line 51
    invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v12

    if-nez v12, :cond_18

    const-string v12, "preload_bkg"

    .line 52
    invoke-static {v2, v6, v12}, Ldgb/q1;->a(Ldgb/m1;Ljava/lang/String;Ljava/lang/String;)Ldgb/q1$m;

    move-result-object v12

    if-eqz v12, :cond_18

    .line 53
    invoke-interface {v0, v12}, Ldgb/x1;->a(Ldgb/q1$m;)I

    move-result v12

    .line 54
    sget-boolean v13, Ldgb/o0;->c:Z

    if-eqz v13, :cond_18

    .line 55
    new-instance v13, Ljava/lang/StringBuilder;

    invoke-direct {v13}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v13, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v13, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v13, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v13, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v13, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v13, v12}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 56
    :cond_18
    iget-object v6, v2, Ldgb/m1;->e:Ldgb/l1;

    iget-object v6, v6, Ldgb/l1;->b:Ljava/util/Map;

    invoke-interface {v6, v10}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/String;

    .line 57
    invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v12

    if-nez v12, :cond_19

    .line 58
    invoke-static {v2, v6, v9}, Ldgb/q1;->a(Ldgb/m1;Ljava/lang/String;Ljava/lang/String;)Ldgb/q1$m;

    move-result-object v12

    if-eqz v12, :cond_19

    .line 59
    invoke-interface {v0, v12}, Ldgb/x1;->a(Ldgb/q1$m;)I

    move-result v12

    .line 60
    sget-boolean v13, Ldgb/o0;->c:Z

    if-eqz v13, :cond_19

    .line 61
    new-instance v13, Ljava/lang/StringBuilder;

    invoke-direct {v13}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v13, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v13, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v13, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v13, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v6, "result: "

    invoke-virtual {v13, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v13, v12}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 62
    :cond_19
    invoke-interface {v4, v5}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_17

    .line 63
    iget-object v6, v2, Ldgb/m1;->e:Ldgb/l1;

    iget-object v6, v6, Ldgb/l1;->c:Ljava/util/Map;

    invoke-interface {v6, v10}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/String;

    .line 64
    invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v10

    if-nez v10, :cond_17

    .line 65
    invoke-static {v2, v6, v9}, Ldgb/q1;->a(Ldgb/m1;Ljava/lang/String;Ljava/lang/String;)Ldgb/q1$m;

    move-result-object v2

    if-eqz v2, :cond_17

    .line 66
    invoke-interface {v0, v2}, Ldgb/x1;->a(Ldgb/q1$m;)I

    move-result v2

    .line 67
    sget-boolean v9, Ldgb/o0;->c:Z

    if-eqz v9, :cond_17

    .line 68
    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v9, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v9, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v9, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v9, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v9, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v9, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ldgb/s0;->b(Ljava/lang/String;)V

    goto/16 :goto_6

    .line 69
    :cond_1a
    invoke-static {}, Ldgb/p1;->c()Ldgb/p1;

    move-result-object v0

    invoke-virtual {v0}, Ldgb/p1;->b()Z

    move-result v0

    if-eqz v0, :cond_1b

    const/16 v0, 0x8

    const/4 v1, 0x0

    .line 70
    invoke-virtual {p0, v0, v1}, Ldgb/q1;->a(ILjava/lang/Object;)V

    :cond_1b
    :goto_7
    return-void
.end method

.method private k(Landroid/os/Message;)V
    .locals 3

    .line 71
    sget-boolean p1, Ldgb/o0;->c:Z

    if-eqz p1, :cond_0

    const-string p1, "handleInitialize"

    .line 72
    invoke-static {p1}, Ldgb/s0;->b(Ljava/lang/String;)V

    .line 73
    :cond_0
    iget-object p1, p0, Ldgb/q1;->g:Ljava/lang/Runnable;

    const-wide/32 v0, 0xea60

    invoke-virtual {p0, p1, v0, v1}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 74
    iget-object p1, p0, Ldgb/q1;->d:Ldgb/q0$d;

    const-string v0, "android.intent.action.ACTION_SHUTDOWN"

    invoke-static {p1, v0}, Ldgb/q0;->a(Ldgb/q0$d;Ljava/lang/String;)Z

    .line 75
    iget-object p1, p0, Ldgb/q1;->d:Ldgb/q0$d;

    const-string v0, "android.intent.action.SCREEN_OFF"

    invoke-static {p1, v0}, Ldgb/q0;->a(Ldgb/q0$d;Ljava/lang/String;)Z

    .line 76
    iget-object p1, p0, Ldgb/q1;->e:Ldgb/q0$d;

    const-string v0, "android.intent.action.PACKAGE_ADDED"

    invoke-static {p1, v0}, Ldgb/q0;->a(Ldgb/q0$d;Ljava/lang/String;)Z

    .line 77
    iget-object p1, p0, Ldgb/q1;->f:Ldgb/q0$d;

    const-string v0, "android.intent.action.PACKAGE_REMOVED"

    invoke-static {p1, v0}, Ldgb/q0;->a(Ldgb/q0$d;Ljava/lang/String;)Z

    .line 78
    invoke-static {}, Ldgb/t0;->b()Z

    move-result p1

    if-eqz p1, :cond_2

    .line 79
    sget-boolean p1, Ldgb/o0;->c:Z

    if-eqz p1, :cond_1

    const-string p1, "network avaliable when initialize"

    .line 80
    invoke-static {p1}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_1
    const/4 p1, 0x2

    const/4 v0, 0x0

    .line 81
    sget v1, Ldgb/q1;->i:I

    int-to-long v1, v1

    invoke-virtual {p0, p1, v0, v1, v2}, Ldgb/q1;->a(ILjava/lang/Object;J)V

    :cond_2
    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 3

    const/4 v0, 0x0

    const-wide/16 v1, 0x3e8

    .line 6
    invoke-virtual {p0, p1, v0, v1, v2}, Ldgb/q1;->a(ILjava/lang/Object;J)V

    return-void
.end method

.method public a(ILjava/lang/Object;)V
    .locals 2

    const-wide/16 v0, 0x3e8

    .line 7
    invoke-virtual {p0, p1, p2, v0, v1}, Ldgb/q1;->a(ILjava/lang/Object;J)V

    return-void
.end method

.method public declared-synchronized a(ILjava/lang/Object;J)V
    .locals 2

    monitor-enter p0

    .line 8
    :try_start_0
    invoke-virtual {p0, p1}, Landroid/os/Handler;->hasMessages(I)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 9
    sget-boolean v0, Ldgb/o0;->c:Z

    if-eqz v0, :cond_0

    .line 10
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "duplicated msg: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, " removed. send new msg..."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ldgb/s0;->a(Ljava/lang/String;)V

    .line 11
    :cond_0
    invoke-virtual {p0, p1}, Landroid/os/Handler;->removeMessages(I)V

    .line 12
    :cond_1
    invoke-virtual {p0, p1, p2}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object p1

    const-wide/16 v0, 0x0

    cmp-long p2, p3, v0

    if-gez p2, :cond_2

    .line 13
    invoke-virtual {p0, p1}, Landroid/os/Handler;->sendMessageAtFrontOfQueue(Landroid/os/Message;)Z

    goto :goto_0

    .line 14
    :cond_2
    invoke-virtual {p0, p1, p3, p4}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 15
    :goto_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public a(ILjava/lang/String;Ljava/lang/String;)V
    .locals 2

    .line 16
    sget-boolean v0, Ldgb/o0;->c:Z

    if-eqz v0, :cond_0

    .line 17
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "resultCode="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, ", type="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ", rcmID="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_0
    const-string v0, "preload_bkg"

    .line 18
    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_3

    const-string v0, "preload_file"

    .line 19
    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_1

    goto :goto_0

    .line 20
    :cond_1
    invoke-static {}, Ldgb/p1;->d()Ldgb/p1;

    move-result-object p2

    invoke-virtual {p2}, Ldgb/p1;->a()Z

    const/16 p2, 0xc8

    if-eq p1, p2, :cond_2

    return-void

    .line 21
    :cond_2
    new-instance p1, Ldgb/q1$m;

    invoke-direct {p1}, Ldgb/q1$m;-><init>()V

    const-string p2, "download"

    .line 22
    iput-object p2, p1, Ldgb/q1$m;->b:Ljava/lang/String;

    .line 23
    iput-object p3, p1, Ldgb/q1$m;->a:Ljava/lang/String;

    .line 24
    iput-object p2, p1, Ldgb/q1$m;->c:Ljava/lang/String;

    const/4 p2, 0x7

    .line 25
    invoke-direct {p0, p2, p1}, Ldgb/q1;->b(ILjava/lang/Object;)V

    goto :goto_1

    .line 26
    :cond_3
    :goto_0
    invoke-static {}, Ldgb/p1;->c()Ldgb/p1;

    move-result-object p1

    .line 27
    invoke-virtual {p1}, Ldgb/p1;->b()Z

    move-result p2

    if-eqz p2, :cond_5

    .line 28
    sget-boolean p1, Ldgb/o0;->c:Z

    if-eqz p1, :cond_4

    const-string p1, "preload queue is empty"

    .line 29
    invoke-static {p1}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_4
    const/16 p1, 0x8

    .line 30
    invoke-virtual {p0, p1}, Ldgb/q1;->a(I)V

    goto :goto_1

    .line 31
    :cond_5
    invoke-virtual {p1}, Ldgb/p1;->a()Z

    move-result p1

    .line 32
    sget-boolean p2, Ldgb/o0;->c:Z

    if-eqz p2, :cond_6

    .line 33
    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    const-string p3, "preload execute next success "

    invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ldgb/s0;->b(Ljava/lang/String;)V

    :cond_6
    :goto_1
    return-void
.end method

.method public final handleMessage(Landroid/os/Message;)V
    .locals 1

    .line 1
    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    goto :goto_0

    .line 2
    :pswitch_0
    invoke-direct {p0, p1}, Ldgb/q1;->a(Landroid/os/Message;)V

    goto :goto_0

    .line 3
    :pswitch_1
    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v0, p1, Ljava/util/Set;

    if-nez v0, :cond_0

    return-void

    .line 4
    :cond_0
    check-cast p1, Ljava/util/Set;

    invoke-direct {p0, p1}, Ldgb/q1;->a(Ljava/util/Set;)V

    goto :goto_0

    .line 5
    :pswitch_2
    invoke-direct {p0, p1}, Ldgb/q1;->b(Landroid/os/Message;)V

    goto :goto_0

    .line 6
    :pswitch_3
    invoke-direct {p0, p1}, Ldgb/q1;->c(Landroid/os/Message;)V

    goto :goto_0

    .line 7
    :pswitch_4
    invoke-direct {p0, p1}, Ldgb/q1;->d(Landroid/os/Message;)V

    goto :goto_0

    .line 8
    :pswitch_5
    invoke-direct {p0, p1}, Ldgb/q1;->f(Landroid/os/Message;)V

    goto :goto_0

    .line 9
    :pswitch_6
    invoke-direct {p0, p1}, Ldgb/q1;->e(Landroid/os/Message;)V

    goto :goto_0

    .line 10
    :pswitch_7
    invoke-direct {p0, p1}, Ldgb/q1;->j(Landroid/os/Message;)V

    goto :goto_0

    .line 11
    :pswitch_8
    invoke-direct {p0, p1}, Ldgb/q1;->g(Landroid/os/Message;)V

    goto :goto_0

    .line 12
    :pswitch_9
    invoke-direct {p0, p1}, Ldgb/q1;->i(Landroid/os/Message;)V

    goto :goto_0

    .line 13
    :pswitch_a
    invoke-direct {p0, p1}, Ldgb/q1;->h(Landroid/os/Message;)V

    goto :goto_0

    .line 14
    :pswitch_b
    invoke-direct {p0, p1}, Ldgb/q1;->k(Landroid/os/Message;)V

    :goto_0
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_b
        :pswitch_a
        :pswitch_9
        :pswitch_8
        :pswitch_7
        :pswitch_6
        :pswitch_5
        :pswitch_4
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
